package com.example.dao;

import com.example.bean.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by lianlei on 2017/1/12.
 */
public interface UserDao extends JpaRepository<User , Integer> {
    List<User> findAllByUsername(String username);
}
